.class public Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;
.super Landroid/app/Activity;


# static fields
.field private static r:Ljava/lang/String;


# instance fields
.field private a:Landroid/widget/ProgressBar;

.field private b:Landroid/widget/ProgressBar;

.field private c:Landroid/widget/LinearLayout;

.field private d:Landroid/widget/LinearLayout;

.field private e:Landroid/widget/LinearLayout;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/ImageView;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:I

.field private m:I

.field private n:I

.field private o:Z

.field private p:Lcom/estrongs/android/taskmanager/c/b;

.field private q:Z

.field private s:Ljava/lang/String;

.field private t:Ljava/util/List;

.field private u:Ljava/lang/String;

.field private v:Landroid/os/Handler;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/4 v0, 0x0

    sput-object v0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->r:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    iput-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a:Landroid/widget/ProgressBar;

    iput-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b:Landroid/widget/ProgressBar;

    iput-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->i:Landroid/widget/ImageView;

    const/4 v0, 0x1

    iput v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    iput v2, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->m:I

    iput v2, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->n:I

    iput-boolean v2, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->o:Z

    iput-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    iput-boolean v2, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->q:Z

    iput-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->s:Ljava/lang/String;

    iput-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->t:Ljava/util/List;

    iput-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->u:Ljava/lang/String;

    new-instance v0, Lcom/estrongs/android/taskmanager/hv;

    invoke-direct {v0, p0}, Lcom/estrongs/android/taskmanager/hv;-><init>(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->v:Landroid/os/Handler;

    return-void
.end method

.method public static a(Ljava/lang/String;)Landroid/content/Intent;
    .locals 3

    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.VIEW"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v1, "android.intent.category.DEFAULT"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "application/vnd.android.package-archive"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setType(Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "com.android.packageinstaller"

    const-string v2, "com.android.packageinstaller.PackageInstallerActivity"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-static {p0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    return-object v0
.end method

.method private a()V
    .locals 7

    const/4 v6, 0x1

    const v5, -0x111112

    const v4, -0xaaaaab

    const/4 v3, 0x0

    const/16 v2, 0x8

    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->q:Z

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    if-ne v0, v6, :cond_2

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f070101

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->c:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    const v0, 0x7f0700f9

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->v:Landroid/os/Handler;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->u:Ljava/lang/String;

    invoke-static {v0, v1}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a(Landroid/os/Handler;Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_5

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->m:I

    if-nez v0, :cond_3

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f070102

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_3
    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->m:I

    if-ne v0, v6, :cond_4

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f070103

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    const v0, 0x7f0700f9

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_0

    :cond_4
    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->m:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f070104

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_5
    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    const/4 v1, 0x3

    if-ne v0, v1, :cond_6

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f070107

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->d:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v3}, Landroid/widget/ProgressBar;->setVisibility(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->c:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    const v0, 0x7f0700fa

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_0

    :cond_6
    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    const/4 v1, 0x4

    if-ne v0, v1, :cond_0

    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->n:I

    const/16 v1, 0x9

    if-ne v0, v1, :cond_7

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f070105

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_0

    :cond_7
    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f0700fb

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0
.end method

.method public static a(Landroid/app/Activity;Landroid/view/View;[I[I)V
    .locals 3

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    array-length v0, p2

    if-lt v1, v0, :cond_0

    return-void

    :cond_0
    if-eqz p1, :cond_2

    aget v0, p2, v1

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    :goto_1
    if-eqz v0, :cond_1

    instance-of v2, v0, Landroid/widget/TextView;

    if-eqz v2, :cond_1

    check-cast v0, Landroid/widget/TextView;

    aget v2, p3, v1

    invoke-virtual {p0, v2}, Landroid/app/Activity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_2
    aget v0, p2, v1

    invoke-virtual {p0, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    goto :goto_1
.end method

.method public static a(Landroid/os/Handler;Ljava/lang/String;)V
    .locals 2

    new-instance v0, Lcom/estrongs/android/taskmanager/c/b;

    invoke-direct {v0, p1}, Lcom/estrongs/android/taskmanager/c/b;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    const/4 v1, 0x1

    iput v1, v0, Lcom/estrongs/android/taskmanager/c/b;->c:I

    iput-object p0, v0, Lcom/estrongs/android/taskmanager/c/b;->d:Ljava/lang/Object;

    invoke-virtual {v0, v0}, Lcom/estrongs/android/taskmanager/c/b;->a(Ljava/lang/Object;)V

    new-instance v1, Lcom/estrongs/android/taskmanager/ia;

    invoke-direct {v1}, Lcom/estrongs/android/taskmanager/ia;-><init>()V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/c/b;->a(Lcom/estrongs/android/taskmanager/c/d;)V

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/c/b;->b()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)V
    .locals 0

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;I)V
    .locals 0

    iput p1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;Ljava/lang/String;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->s:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;Ljava/util/List;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->t:Ljava/util/List;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;Z)V
    .locals 0

    iput-boolean p1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->o:Z

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Lcom/estrongs/android/taskmanager/c/b;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    return-object v0
.end method

.method static synthetic b(Ljava/lang/String;)Lcom/estrongs/android/taskmanager/ib;
    .locals 1

    invoke-static {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->c(Ljava/lang/String;)Lcom/estrongs/android/taskmanager/ib;

    move-result-object v0

    return-object v0
.end method

.method static synthetic b(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;I)V
    .locals 0

    iput p1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->m:I

    return-void
.end method

.method private b()Z
    .locals 4

    const/4 v1, 0x0

    :try_start_0
    new-instance v0, Landroid/content/Intent;

    const-string v2, "android.intent.action.VIEW"

    invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->s:Ljava/lang/String;

    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->finish()V
    :try_end_0
    .catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move v0, v1

    :goto_0
    return v0

    :catch_0
    move-exception v0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->t:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    new-instance v2, Lcom/estrongs/android/taskmanager/c/b;

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->t:Ljava/util/List;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-direct {v2, v1}, Lcom/estrongs/android/taskmanager/c/b;-><init>(Ljava/lang/String;)V

    iput-object v2, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    invoke-virtual {v1, v2}, Lcom/estrongs/android/taskmanager/c/b;->a(Ljava/lang/Object;)V

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "/sdcard/.estrongs/tmp/"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, ".apk"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/estrongs/android/taskmanager/c/b;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    new-instance v1, Lcom/estrongs/android/taskmanager/hw;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/hw;-><init>(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/taskmanager/c/b;->a(Lcom/estrongs/android/taskmanager/c/d;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->p:Lcom/estrongs/android/taskmanager/c/b;

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/c/b;->b()V

    const/4 v0, 0x1

    goto :goto_0
.end method

.method static synthetic c(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->h:Landroid/widget/TextView;

    return-object v0
.end method

.method private static c(Ljava/lang/String;)Lcom/estrongs/android/taskmanager/ib;
    .locals 5

    const/4 v2, 0x0

    :try_start_0
    new-instance v3, Lcom/estrongs/android/taskmanager/ib;

    invoke-direct {v3}, Lcom/estrongs/android/taskmanager/ib;-><init>()V

    new-instance v0, La/a/a/a/b;

    invoke-direct {v0}, La/a/a/a/b;-><init>()V

    invoke-virtual {v0, p0}, La/a/a/a/b;->a(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    if-nez v0, :cond_0

    move-object v0, v2

    :goto_0
    return-object v0

    :cond_0
    const-string v1, "version"

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, v3, Lcom/estrongs/android/taskmanager/ib;->a:Ljava/lang/String;

    const-string v1, "market"

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, v3, Lcom/estrongs/android/taskmanager/ib;->b:Ljava/lang/String;

    const-string v1, "urls"

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, La/a/a/a;

    instance-of v1, v0, La/a/a/a;

    if-eqz v1, :cond_2

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, v3, Lcom/estrongs/android/taskmanager/ib;->c:Ljava/util/List;

    check-cast v0, La/a/a/a;

    invoke-virtual {v0}, La/a/a/a;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_1
    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_3

    :cond_2
    iget-object v0, v3, Lcom/estrongs/android/taskmanager/ib;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_4

    move-object v0, v2

    goto :goto_0

    :cond_3
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map;

    const-string v4, "url"

    invoke-interface {v0, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v4, v3, Lcom/estrongs/android/taskmanager/ib;->c:Ljava/util/List;

    invoke-interface {v4, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    move-object v0, v2

    goto :goto_0

    :cond_4
    move-object v0, v3

    goto :goto_0
.end method

.method static synthetic c(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;I)V
    .locals 0

    iput p1, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->n:I

    return-void
.end method

.method static synthetic d(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Landroid/widget/ProgressBar;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic e(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->g:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic f(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->v:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic g(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->q:Z

    return v0
.end method

.method static synthetic h(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)I
    .locals 1

    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    return v0
.end method

.method static synthetic i(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)I
    .locals 1

    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->m:I

    return v0
.end method

.method static synthetic j(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)I
    .locals 1

    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->n:I

    return v0
.end method

.method static synthetic k(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic l(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Z
    .locals 1

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b()Z

    move-result v0

    return v0
.end method

.method static synthetic m(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->j:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic n(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->o:Z

    return v0
.end method

.method static synthetic o(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->i:Landroid/widget/ImageView;

    return-object v0
.end method


# virtual methods
.method public a([I[I)V
    .locals 1

    const/4 v0, 0x0

    invoke-static {p0, v0, p1, p2}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a(Landroid/app/Activity;Landroid/view/View;[I[I)V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 5

    const/4 v2, 0x3

    const/4 v4, 0x1

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0, v4}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->requestWindowFeature(I)Z

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getWindow()Landroid/view/Window;

    move-result-object v0

    const v1, 0x7f020006

    invoke-virtual {v0, v1}, Landroid/view/Window;->setBackgroundDrawableResource(I)V

    const v0, 0x7f03001f

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->setContentView(I)V

    new-array v0, v2, [I

    fill-array-data v0, :array_0

    new-array v1, v2, [I

    fill-array-data v1, :array_1

    invoke-virtual {p0, v0, v1}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a([I[I)V

    const v0, 0x7f0900f9

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->e:Landroid/widget/LinearLayout;

    const v0, 0x7f0900fb

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a:Landroid/widget/ProgressBar;

    const v0, 0x7f0900fd

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b:Landroid/widget/ProgressBar;

    const v0, 0x7f090101

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->c:Landroid/widget/LinearLayout;

    const v0, 0x7f0900fe

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->d:Landroid/widget/LinearLayout;

    const v0, 0x7f0900fc

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->f:Landroid/widget/TextView;

    const v0, 0x7f090102

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->i:Landroid/widget/ImageView;

    const v0, 0x7f090105

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->j:Landroid/widget/TextView;

    const v0, 0x7f090104

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    const v0, 0x7f090100

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->h:Landroid/widget/TextView;

    const v0, 0x7f0900ff

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->g:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->b:Landroid/widget/ProgressBar;

    const/16 v1, 0x3e8

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setMax(I)V

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v1

    if-nez v1, :cond_0

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->finish()V

    :goto_0
    return-void

    :cond_0
    const-string v0, "status"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    const/4 v2, 0x2

    if-ne v0, v2, :cond_1

    iput v4, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->m:I

    const-string v0, "market"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->s:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->t:Ljava/util/List;

    const/4 v0, 0x0

    :goto_1
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "url_"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    if-nez v2, :cond_2

    :cond_1
    iget v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->l:I

    if-ne v0, v4, :cond_3

    const-string v0, "checkurl"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->u:Ljava/lang/String;

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->u:Ljava/lang/String;

    if-nez v0, :cond_3

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->finish()V

    goto :goto_0

    :cond_2
    iget-object v3, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->t:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->k:Landroid/widget/TextView;

    new-instance v1, Lcom/estrongs/android/taskmanager/hx;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/hx;-><init>(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->j:Landroid/widget/TextView;

    new-instance v1, Lcom/estrongs/android/taskmanager/hy;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/hy;-><init>(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->i:Landroid/widget/ImageView;

    new-instance v1, Lcom/estrongs/android/taskmanager/hz;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/hz;-><init>(Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-direct {p0}, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->a()V

    goto :goto_0

    nop

    :array_0
    .array-data 0x4
        0xfat 0x0t 0x9t 0x7ft
        0x3t 0x1t 0x9t 0x7ft
        0x5t 0x1t 0x9t 0x7ft
    .end array-data

    :array_1
    .array-data 0x4
        0xf9t 0x0t 0x7t 0x7ft
        0x6t 0x1t 0x7t 0x7ft
        0x54t 0x0t 0x7t 0x7ft
    .end array-data
.end method

.method protected onDestroy()V
    .locals 1

    iget-boolean v0, p0, Lcom/estrongs/android/taskmanager/TaskmgrUpgrade;->o:Z

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/estrongs/android/taskmanager/ht;->p(Landroid/content/Context;)V

    :cond_0
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    return-void
.end method
